
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>上传文件</title>
    <style>
        form{
            border:1px solid #ccc;
        }
    </style>
</head>
<body>
  <div id="upload">
      <form action="upload" enctype="multipart/form-data" method="post">
          <input type="file" name="file">
          <input type="submit" value="上传">
      </form>

      <form action="uploadMulti" enctype="multipart/form-data" method="post">
          <p>
              选择文件：<input type="file" name="files" multiple="multiple">
          </p>
          <p>
              选择文件：<input type="file" name="files" multiple="multiple">
          </p>
          <p>
              选择文件：<input type="file" name="files" multiple="multiple">
          </p>
          <input type="submit" value="上传三个文件">
      </form>
  </div>
</body>
</html>
